package com.primeton.eos.oss.model.result;

import com.eos.system.utility.JsonUtil;

/**
 * 
 *  响应结果类
 * @author hudh
 */
public class Result {

    private String retCode;

    public Result(){
    }

    public Result(String retCode){
        this.retCode = retCode;
    }

    public String getRetCode() {
        return retCode;
    }

    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }

    /**
     * 返回json字符串，子类如果需要特别处理的话，可覆盖此方法
     * 
     * @return
     */
    public String toJSONString() {
        return JsonUtil.toJson(this);
    }
}
